<!doctype html>

<html>
<head>
  <link rel="shortcut icon" href="static/images/favicon.ico" type="image/x-icon">
  <title>keynames.js (Closure Library API Documentation - JavaScript)</title>
  <link rel="stylesheet" href="static/css/base.css">
  <link rel="stylesheet" href="static/css/doc.css">
  <link rel="stylesheet" href="static/css/sidetree.css">
  <link rel="stylesheet" href="static/css/prettify.css">

  <script>
     var _staticFilePath = "static/";
     var _typeTreeName = "goog";
     var _fileTreeName = "Source";
  </script>

  <script src="static/js/doc.js">
  </script>


  <meta charset="utf8">
</head>

<body onload="grokdoc.onLoad();">

<div id="header">
  <div class="g-section g-tpl-50-50 g-split">
    <div class="g-unit g-first">
      <a id="logo" href="index.html">Closure Library API Documentation</a>
    </div>

    <div class="g-unit">
      <div class="g-c">
        <strong>Go to class or file:</strong>
        <input type="text" id="ac">
      </div>
    </div>
  </div>
</div>

<div class="clear"></div>

<h2><a href="closure_goog_events_keynames.js.html">keynames.js</a></h2>

<pre class="prettyprint lang-js">
<a name="line1"></a>// Copyright 2006 The Closure Library Authors. All Rights Reserved.
<a name="line2"></a>//
<a name="line3"></a>// Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
<a name="line4"></a>// you may not use this file except in compliance with the License.
<a name="line5"></a>// You may obtain a copy of the License at
<a name="line6"></a>//
<a name="line7"></a>//      http://www.apache.org/licenses/LICENSE-2.0
<a name="line8"></a>//
<a name="line9"></a>// Unless required by applicable law or agreed to in writing, software
<a name="line10"></a>// distributed under the License is distributed on an &quot;AS-IS&quot; BASIS,
<a name="line11"></a>// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
<a name="line12"></a>// See the License for the specific language governing permissions and
<a name="line13"></a>// limitations under the License.
<a name="line14"></a>
<a name="line15"></a>/**
<a name="line16"></a> * @fileoverview Constant declarations for common key codes.
<a name="line17"></a> *
<a name="line18"></a> * @author eae@google.com (Emil A Eklund)
<a name="line19"></a> */
<a name="line20"></a>
<a name="line21"></a>goog.provide(&#39;goog.events.KeyNames&#39;);
<a name="line22"></a>
<a name="line23"></a>
<a name="line24"></a>/**
<a name="line25"></a> * Key names for common characters.
<a name="line26"></a> *
<a name="line27"></a> * This list is not localized and therefore some of the key codes are not
<a name="line28"></a> * correct for non-US keyboard layouts.
<a name="line29"></a> *
<a name="line30"></a> * @see goog.events.KeyCodes
<a name="line31"></a> * @enum {string}
<a name="line32"></a> */
<a name="line33"></a>goog.events.KeyNames = {
<a name="line34"></a>  8: &#39;backspace&#39;,
<a name="line35"></a>  9: &#39;tab&#39;,
<a name="line36"></a>  13: &#39;enter&#39;,
<a name="line37"></a>  16: &#39;shift&#39;,
<a name="line38"></a>  17: &#39;ctrl&#39;,
<a name="line39"></a>  18: &#39;alt&#39;,
<a name="line40"></a>  19: &#39;pause&#39;,
<a name="line41"></a>  20: &#39;caps-lock&#39;,
<a name="line42"></a>  27: &#39;esc&#39;,
<a name="line43"></a>  32: &#39;space&#39;,
<a name="line44"></a>  33: &#39;pg-up&#39;,
<a name="line45"></a>  34: &#39;pg-down&#39;,
<a name="line46"></a>  35: &#39;end&#39;,
<a name="line47"></a>  36: &#39;home&#39;,
<a name="line48"></a>  37: &#39;left&#39;,
<a name="line49"></a>  38: &#39;up&#39;,
<a name="line50"></a>  39: &#39;right&#39;,
<a name="line51"></a>  40: &#39;down&#39;,
<a name="line52"></a>  45: &#39;insert&#39;,
<a name="line53"></a>  46: &#39;delete&#39;,
<a name="line54"></a>  48: &#39;0&#39;,
<a name="line55"></a>  49: &#39;1&#39;,
<a name="line56"></a>  50: &#39;2&#39;,
<a name="line57"></a>  51: &#39;3&#39;,
<a name="line58"></a>  52: &#39;4&#39;,
<a name="line59"></a>  53: &#39;5&#39;,
<a name="line60"></a>  54: &#39;6&#39;,
<a name="line61"></a>  55: &#39;7&#39;,
<a name="line62"></a>  56: &#39;8&#39;,
<a name="line63"></a>  57: &#39;9&#39;,
<a name="line64"></a>  59: &#39;semicolon&#39;,
<a name="line65"></a>  61: &#39;equals&#39;,
<a name="line66"></a>  65: &#39;a&#39;,
<a name="line67"></a>  66: &#39;b&#39;,
<a name="line68"></a>  67: &#39;c&#39;,
<a name="line69"></a>  68: &#39;d&#39;,
<a name="line70"></a>  69: &#39;e&#39;,
<a name="line71"></a>  70: &#39;f&#39;,
<a name="line72"></a>  71: &#39;g&#39;,
<a name="line73"></a>  72: &#39;h&#39;,
<a name="line74"></a>  73: &#39;i&#39;,
<a name="line75"></a>  74: &#39;j&#39;,
<a name="line76"></a>  75: &#39;k&#39;,
<a name="line77"></a>  76: &#39;l&#39;,
<a name="line78"></a>  77: &#39;m&#39;,
<a name="line79"></a>  78: &#39;n&#39;,
<a name="line80"></a>  79: &#39;o&#39;,
<a name="line81"></a>  80: &#39;p&#39;,
<a name="line82"></a>  81: &#39;q&#39;,
<a name="line83"></a>  82: &#39;r&#39;,
<a name="line84"></a>  83: &#39;s&#39;,
<a name="line85"></a>  84: &#39;t&#39;,
<a name="line86"></a>  85: &#39;u&#39;,
<a name="line87"></a>  86: &#39;v&#39;,
<a name="line88"></a>  87: &#39;w&#39;,
<a name="line89"></a>  88: &#39;x&#39;,
<a name="line90"></a>  89: &#39;y&#39;,
<a name="line91"></a>  90: &#39;z&#39;,
<a name="line92"></a>  93: &#39;context&#39;,
<a name="line93"></a>  96: &#39;num-0&#39;,
<a name="line94"></a>  97: &#39;num-1&#39;,
<a name="line95"></a>  98: &#39;num-2&#39;,
<a name="line96"></a>  99: &#39;num-3&#39;,
<a name="line97"></a>  100: &#39;num-4&#39;,
<a name="line98"></a>  101: &#39;num-5&#39;,
<a name="line99"></a>  102: &#39;num-6&#39;,
<a name="line100"></a>  103: &#39;num-7&#39;,
<a name="line101"></a>  104: &#39;num-8&#39;,
<a name="line102"></a>  105: &#39;num-9&#39;,
<a name="line103"></a>  106: &#39;num-multiply&#39;,
<a name="line104"></a>  107: &#39;num-plus&#39;,
<a name="line105"></a>  109: &#39;num-minus&#39;,
<a name="line106"></a>  110: &#39;num-period&#39;,
<a name="line107"></a>  111: &#39;num-division&#39;,
<a name="line108"></a>  112: &#39;f1&#39;,
<a name="line109"></a>  113: &#39;f2&#39;,
<a name="line110"></a>  114: &#39;f3&#39;,
<a name="line111"></a>  115: &#39;f4&#39;,
<a name="line112"></a>  116: &#39;f5&#39;,
<a name="line113"></a>  117: &#39;f6&#39;,
<a name="line114"></a>  118: &#39;f7&#39;,
<a name="line115"></a>  119: &#39;f8&#39;,
<a name="line116"></a>  120: &#39;f9&#39;,
<a name="line117"></a>  121: &#39;f10&#39;,
<a name="line118"></a>  122: &#39;f11&#39;,
<a name="line119"></a>  123: &#39;f12&#39;,
<a name="line120"></a>  186: &#39;semicolon&#39;,
<a name="line121"></a>  187: &#39;equals&#39;,
<a name="line122"></a>  189: &#39;dash&#39;,
<a name="line123"></a>  188: &#39;,&#39;,
<a name="line124"></a>  190: &#39;.&#39;,
<a name="line125"></a>  191: &#39;/&#39;,
<a name="line126"></a>  192: &#39;~&#39;,
<a name="line127"></a>  219: &#39;open-square-bracket&#39;,
<a name="line128"></a>  220: &#39;\\&#39;,
<a name="line129"></a>  221: &#39;close-square-bracket&#39;,
<a name="line130"></a>  222: &#39;single-quote&#39;,
<a name="line131"></a>  224: &#39;win&#39;
<a name="line132"></a>};
</pre>


</body>
</html>
